combobox: Reuse code rather than reimplementing it
authorDaniel Boles <dboles@src.gnome.org>
Sat, 21 Jan 2017 15:11:40 +0000 (15:11 +0000)
committerDaniel Boles <dboles@src.gnome.org>
Sat, 21 Jan 2017 19:00:10 +0000 (19:00 +0000)
commit36413a8eca48c74a0a2719035ceca1b097930d41
tree7b0a66503f9d9b3169a3afd92c273f8ead7c70f2
parentc7e4c82df45f2a8671c53c10c30b664ad655bd52
combobox: Reuse code rather than reimplementing it

We already have cell_layout_is_sensitive() to get whether at least one
cell in a Layout is sensitive, which we need because CellLayout/View
do not implement foreach(). So, since we wrote that, we can use it to
check our CellArea too, instead of doing foreach with a custom callback.
gtk/gtkcombobox.c